Flymake support for indicating errors in margin
authorElias G. B. Perez <eg642616@gmail.com>
Sat, 6 Apr 2024 19:57:30 +0000 (13:57 -0600)
committerEli Zaretskii <eliz@gnu.org>
Thu, 18 Apr 2024 09:08:33 +0000 (12:08 +0300)
commit3c4f6c78b4b2ae0b1efadf5e664fa180e663037e
tree87b04a0890b625558f69467edcb232d9e0a1153e
parentbb9d81d5144ae497809c416eef91d126f8ac5df5
Flymake support for indicating errors in margin

Add optional support for display flymake error in margin,
this allow displaying error indicators in both graphical and
terminal frames.
* doc/misc/flymake.texi (Customizable variables)
(Flymake error types): Document new margin indicator.
* etc/NEWS: Announce the new Flymake user option for margin
indicators.
* lisp/progmodes/flymake.el (flymake-indicator-type)
(flymake-margin-indicators-string, flymake-autoresize-margins)
(flymake-margin-indicator-position): New user options.
(flymake--original-margin-width): Add buffer-local variable for
store original buffer margin width.
(flymake-error, flymake-warning, flymake-note): Use new margin
value.
(flymake--indicator-overlay-spec): Rework and Rename from
flymake--fringe-overlay-spec.
(flymake--resize-margins): Add new function for resize margin
width.
(flymake--highlight-line, flymake-mode): Rework.
doc/misc/flymake.texi
etc/NEWS
lisp/progmodes/flymake.el